package io.renren.modules.user.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(value = "")
public class UserDto implements Serializable {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "id")
	private Integer id;

	@ApiModelProperty(value = "作者")
	private String username;

	@ApiModelProperty(value = "密码")
	private String password;

	@ApiModelProperty(value = "盐值")
	private String salt;

	@ApiModelProperty(value = "邮箱")
	private String email;

	@ApiModelProperty(value = "0-普通用户; 1-超级管理员; 2-版主;")
	private Integer type;

	@ApiModelProperty(value = "0-未激活; 1-已激活;")
	private Integer status;

	@ApiModelProperty(value = "激活码")
	private String activationCode;

	@ApiModelProperty(value = "头像")
	private String headerUrl;

	@ApiModelProperty(value = "创建时间")
	private Date createTime;


}